package thread;
	
	public class InGuestThread extends Thread{
		InOutProcess ip;
		
		public InGuestThread(InOutProcess ip){
			this.ip=ip;
		}
		
		public void run(){
			for(int i=1;i<10;i++){
				ip.inGuest();
				try
			}
			Thread.sleep(500);
		}
		catch(InterruptedException e){
			e.printStackTrace();
		}
	}

	public static void main(String[] args) {
		

	}

}
